import { Module } from '@nestjs/common';
import { UserController } from './user.controller';
import { UserService } from './user.service';
import { LogModule } from '../log/log.module'; // LogModule 当作 Global 模块引入

@Module({
  // imports: [LogModule],
  // 动态模块注册
  imports: [
    LogModule.register('user')
  ],
  controllers: [UserController],
  providers: [UserService]
})
export class UserModule {}
